//
//  JYTTabBarItemView.h
//  JYT_IOS
//
//  Created by nxa-tankeke on 16/12/14.
//  Copyright © 2016年 nxa-yuanguoxiang. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "JYTTabBarItem.h"

@protocol ProtocolTabBarItemView <NSObject>
- (void)clickTabBarItem:(NSInteger)selectedIndex;
@end

@interface JYTTabBarItemView : UIView

@property (nonatomic, strong) UIImageView *imageView;
@property (nonatomic, strong) UIImageView *selectedImageView;
@property (nonatomic, strong) UILabel *titlelab;
@property (nonatomic, assign) NSInteger selfIndex;
@property (nonatomic, strong) UILabel *msgBadgeLab;

@property (nonatomic, assign) id <ProtocolTabBarItemView> delegate;
- (instancetype) initWithtabBarItem:(JYTTabBarItem *)item;
- (void) setNormalImage;
- (void) setHighLightImage;

@end
